import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';

// 引入dayjs处理时间和日期
import dayjs from 'dayjs';

// 引入ElementPlus组件
import ElementPlus from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';

// 引入animate动画库
import 'animate.css';

// 引入iconfont
import './assets/iconfont/iconfont.css';
import './assets/js/figlet';

const app = createApp(App)
  .use(store)
  .use(router)
  .use(ElementPlus);

app.config.globalProperties.$dayjs = dayjs;
app.mount('#app');
